﻿using System;

namespace Syspetro.Core.EventBus
{
    public static class EventSchedulerDefault
    {
        public static readonly EventBus DefaultBus = new();
        public static void Add(Type type, Type typeHandler, string group = null)
        {
            DefaultBus.Subscribe(type, typeHandler, group);
        }
    }
}
